public class Seaplane implements Swimmmer,Flyer{
	private String name;

	public Seaplane(String name){
		this.name=name;
	}

	@override
	public void fly(){
		System.out.printf("海上飞机%s 在飞%n",name);
	}

	@override 
	public void swim() {
		System.out.printf("海上飞机%s 航行海面%n“, name);

	}
}

